<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script>
  /*      练习三：
	求100以内所有7的倍数之和，以及个数
*/                var b= 0;
                  var num =0 ;
                  for (var a =1; a<=100; a++){
                  if (a % 7 == 0){
                    // console.log(a);
                     num = num + a;
                        b++;

                }
              }
                 console.log(num);
                 console.log(b);




    </script>
</head>
<body>

</body>
</html>